Repository navigation
Conversation
…wn v2 connection callbacks Move the connect decisions into one provider-owned set of callbacks: the connect-flag refusals (including --device), the per-platform credential narrowing, the connection capabilities, and the verification read-only check now live in the provider package's connection module, which the plugin declares lazily. The CLI composition drops its hand-written Limrun adapter and runs the same callbacks through the plugin shape, wired to the host the way the daemon's registry wires an installed plugin's, so both answers come from the provider. The profile fields the host owns stay with the host: tenant, session, run identity, state dir, and Metro settings.
The built-in `connect` composed its provider's callbacks through the provider package's root entry just to inject that provider's own read-only check, which evaluated the runtime the composition was meant to keep lazy, and let a caller replace a verification it does not own. The connection now loads the provider's own verification in the `verify` path alone, so the built-in and an installed plugin answer with the same entry and nothing above the connection decides what it verifies through; the plugin option, the verifier type, and the root's verification export go with it. The suites read the Limrun SDK boundary instead of the provider package, so they assert what the account or the attached instance is asked for: the scoped credentials, the host's version, and the selected platform, with no runtime set up on `connect`.
Size Report
Startup median (7 runs, lower is better):
|
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
This PR is ready: I found no problems in the code at 5e0a406. The Smoke Tests failure looks unrelated, because it fails in the Android Home/Recents pixel assertion (live-automation-scenario.ts:244) on a route that never calls Not blocking, take or leave: |
254805f
into
refactor/0.22-limrun-plugin-factory
Summary
connect limrunresolve and verify through the provider’s v2 callbacks. Load the verifier only when verification runs.Part of #3311. Based on #4723 alongside #4728.
Validation
5e0a406565fafee92181ade25bbc99251a0f2e21on base4b7e61602b331331b9ef6d01881ad1a52d55638a.pnpm check:affected --run --head 5e0a406565fafee92181ade25bbc99251a0f2e21passed. Receiptrun-iikswjrecords 42 checks passed and 25 skipped, including package, unit, provider integration, and production exports.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.